<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/studentServlet/add" method="post">
    学生姓名<input type="text" name="name" ><br>
    学生年龄<input type="number" name="age" ><br>
    学生成绩<input type="number" name="score" ><br>
    <button type="submit">添加</button><br>
</form>
</body>
</html>